package com.shoppingwebsite.service;

import com.shoppingwebsite.domain.YtUser;

public interface UserService {
    //添加一条用户数据
    public int add(YtUser user);

    //根据姓名查询一条用户
    public YtUser select(String username);

    //根据id查询一条用户
    public YtUser selectById(Integer userId);
}
